﻿<%/* 
 * 创建任务
 * include file="../file_creator/index.html"
 * 
 * &parentFileId=${fileId}  就是要这样的，基于 ${fileId} 来创建任务，从而为parentFileId
 * 
 */%>

<div id="projectCreateFileDiv" name="projectCreateFileDiv" style="display:none;">
	<hr />
	<div class="row-fluid">
		
		<div id="content_2" class="span2">
			<div class="list-group">
				<a href="#" class="list-group-item active">导入源头数据</a> 
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=ImportKafka" target="_self" class="list-group-item">从kafka导入</a>
			</div>
		</div>
		
		<div id="content_3" class="span2">
			<div class="list-group">
				<a href="#" class="list-group-item active">数据模型构建</a> 
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=SqlTask" target="_self" class="list-group-item">sql</a>
			</div>
		</div>
		
		<div id="content_4" class="span2">
			<div class="list-group">
				<a href="#" class="list-group-item active">导出表数据(用于join)</a> 
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=ExportRedis" target="_self" class="list-group-item">导出至redis</a>
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=ExportCassandra" target="_self" class="list-group-item">导出至cassandra</a>
			</div>
		</div>
		
		<div id="content_5" class="span2">
			<div class="list-group">
				<a href="#" class="list-group-item active">导出统计结果数据</a> 
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=ExportKafka" target="_self" class="list-group-item">导出至kafka</a>
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=ExportJDBC" target="_self" class="list-group-item">jdbc导出</a>
			</div>
		</div>
		
		<div id="content_1" class="span2">
			<div class="list-group">
				<a href="#" class="list-group-item active">维表定时刷新(用于join)</a> 
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=Cron" target="_self" class="list-group-item">定时器</a>
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=Mysql2Redis" target="_self" class="list-group-item">mysql->redis</a>
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=Mysql2Cassandra" target="_self" class="list-group-item">mysql->cassandra</a>
				<a href="${ctx}/task/read.do?projectId=${projectId}&parentFileId=${fileId}&fileType=Hive2Cassandra" target="_self" class="list-group-item">hive->cassandra</a>
			</div>
		</div>
	</div>
	
	<hr />
	
</div>
